﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HBase {
    [AttributeUsage(AttributeTargets.Class)]
    public class TableAttribute : Attribute {
        public TableAttribute(string tableName) {
            Name = tableName;
        }
        public string Name { get; private set; }
    }
    // do not want to depend on data annotations that is not in client profile

    [AttributeUsage(AttributeTargets.Property)]
    public class KeyAttribute : Attribute {
    }
    [AttributeUsage(AttributeTargets.Property)]
    public class WriteAttribute : Attribute {
        public WriteAttribute(bool write) {
            Write = write;
        }
        public bool Write { get; private set; }
    }
    [AttributeUsage(AttributeTargets.Property)]
    public class ComputedAttribute : Attribute {
    }
}
